﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArgusPCLib.Bird
{
	public delegate void CrashDetectedEventHandler(object sender, CrashDetectedEventArgs e);

	public class CrashDetectedEventArgs : EventArgs
	{
		public string MailMessageTxt { get; set; }
		public string MailMessageHtml { get; set; }
		public string MailSubject { get; set; }
		public Uri ServerAdress { get; set; }
		//public bool ScreenshotsMayBeIncluded { get; set; }

		public CrashDetectedEventArgs(string mailSubject, string mailMessage)
			:base()
		{
			this.MailMessageTxt = mailMessage;
			this.MailMessageHtml = "<a>" + mailMessage + "</a>";
			this.MailSubject = mailSubject;
			//this.ScreenshotsMayBeIncluded = true;
		}
	}
}
